package org.zxyj.system.domain;

import java.util.List;

import org.zxyj.core.entity.BaseEntity;

/**
 * 角色
 * 
 * @author zhaoyong
 * @version 2016年2月18日
 */
public class Role extends BaseEntity<Role> {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -3025573283981056283L;

	/**
	 * 角色名称
	 */
	private String name;

	/**
	 * 角色标记(身份)
	 */
	private String identify;

	/**
	 * 创建人
	 */
	private User creator;

	/**
	 * 角色资源
	 */
	private List<RoleResource> roleResources;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdentify() {
		return identify;
	}

	public void setIdentify(String identify) {
		this.identify = identify;
	}

	public User getCreator() {
		return creator;
	}

	public void setCreator(User creator) {
		this.creator = creator;
	}

	public List<RoleResource> getRoleResources() {
		return roleResources;
	}

	public void setRoleResources(List<RoleResource> roleResources) {
		this.roleResources = roleResources;
	}

}